package com.dz.Service;

import com.dz.pojo.Books;

import java.util.List;

public interface BookService {
    //增加一本书
    int addBook(Books books);

    int deleteBookById(String id);

    int updataBook(Books books);

    Books queryBook(String id);

    //查询全部的书
    List<Books> queryAllBooks();

    //通过书名查询书籍
    Books queryBookByName(String BookName);
}
